package com.xz.knowledgeDuplication.pattern.responsibility;

/**
 * 小组长(具体处理者)
 *
 * @author 召
 * @date 2022-03-24 21:53:17
 */
public class GroupLeader extends Handler{

    public GroupLeader() {
        super(NUM_ONE, NUM_THREE);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天," + leave.getContent());
        System.out.println("小组长审批：同意");
    }
}
